<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录成功</title>
</head>

<body>
    <h2>登录成功</h2>
    <p>当前时间戳：<span id="timestamp"></span></p>
    <script>
        const urlParams = new URLSearchParams(window.location.search);
        const timestamp = urlParams.get('timestamp');
        document.getElementById('timestamp').textContent = timestamp ? new
        Date(parseInt(timestamp)).toString(): '未知';
    </script>
</body>

</html>